import axios from '../utils/utils'

//设置请求的基本路径
axios.defaults.baseURL = 'http://127.0.0.1:5000'

//获取订单列表
export const orderList = (params) => axios.get('/order/list', { params })

//获取订单详情
export const detail = (params) => axios.get('/order/detail', { params })

//修改订单
export const edit = (params) => axios.post('/order/edit', params)




